package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class AsClause {

    private int beginIndex;
    private int endIndex;
    private Identifier columnName;

    public AsClause(int beginIndex, Identifier columnName) {
        this.beginIndex = beginIndex;
        this.endIndex = columnName.getEndIndex();
        this.columnName = columnName;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public Identifier getColumnName() {
        return columnName;
    }

}
